package fr.cephb.berkeley.baseapi.bindings;

import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class CStringBinding
	extends AbstractTupleBinding<String>
	{
	@Override
	public String entryToObject(TupleInput input)
		{
		return readCString(input);
		}

	@Override
	public void objectToEntry(String s, TupleOutput output)
		{
		writeCString(s, output);
		}
	}
